package selef.xiafan.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @author xiafan
 * @version 1.0
 * @date 2021/9/26 10:52
 */
@Data
@Entity
@Table(name = "t_comment_order")
@JsonIgnoreProperties({"handler", "hibernateLazyInitializer"})
public class CommentOrder implements Serializable {
    @Id
    @Column(name = "comment_id")
    private String commentId;
    @Column(name = "order_id")
    private String orderId;
}
